#include "Material.h"

const AssetType RE_Material::m_MaterialType = "Material";

RE_Material::RE_Material(D3DXVECTOR4 Diffuse, D3DXVECTOR4 Ambient, D3DXVECTOR4 Specular)
{
	m_Diffuse = Diffuse;
	m_Ambient = Ambient;
	m_Specular = Specular;
	m_SpecularPower = 0;
}
RE_Material::RE_Material()
{
	ZeroMemory(&m_Diffuse, sizeof(D3DCOLORVALUE)); // VC++ may do some optimizationsa and change places, petter do it 3 times for each
	ZeroMemory(&m_Ambient, sizeof(D3DCOLORVALUE));
	ZeroMemory(&m_Specular, sizeof(D3DCOLORVALUE));
	m_SpecularPower = 0;
}
RE_Material::~RE_Material()
{

}

bool RE_Material::Restore()
{
	return true;
}

bool RE_Material::Release()
{
	return true;
}